<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- qwwconfigwidget.cpp -->
<head>
  <title>Qt 1.0: QwwConfigWidget Class Reference</title>
  <link href="classic-4.6.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">wwWidgets Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230">
<a href="http://www.wysota.eu.org/wwwidgets"><img src="images/ww-logo.png" align="right" width="137" height="41" border="0" /></a>
</td></tr></table><h1 class="title">QwwConfigWidget Class Reference</h1>
<p>A multipage container widget organizing configuration pages <a href="#details">More...</a></p>
<pre> #include &lt;QwwConfigWidget&gt;</pre><p>Inherits <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget<sup>(obsolete)</sup></a>.</p>
<ul>
<li><a href="qwwconfigwidget-members.html">List of all members, including inherited members</a></li>
</ul>
<hr />
<a name="properties"></a>
<h2>Properties</h2>
<ul>
<li><div class="fn"><b><a href="qwwconfigwidget.html#count-prop">count</a></b> : const int</div></li>
<li><div class="fn"><b><a href="qwwconfigwidget.html#currentIndex-prop">currentIndex</a></b> : int</div></li>
<li><div class="fn"><b><a href="qwwconfigwidget.html#iconSize-prop">iconSize</a></b> : QSize</div></li>
</ul>
<ul>
<li><div bar="2" class="fn"></div>58 properties inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#properties">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<hr />
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top"></td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#QwwConfigWidget">QwwConfigWidget</a></b> ( QWidget * <i>parent</i> = 0 )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#addGroup">addGroup</a></b> ( QWidget * <i>group</i>, const QIcon &amp; <i>icon</i> = QIcon(), const QString &amp; <i>name</i> = QString() )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#count-prop">count</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWidget * </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#currentGroup">currentGroup</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#currentIndex-prop">currentIndex</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QWidget * </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#group">group</a></b> ( int <i>index</i> ) const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSize </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#iconSize-prop">iconSize</a></b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#insertGroup">insertGroup</a></b> ( int <i>index</i>, QWidget * <i>group</i>, const QIcon &amp; <i>icon</i> = QIcon(), const QString &amp; <i>label</i> = QString() )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#removeGroup">removeGroup</a></b> ( QWidget * <i>group</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#removeGroup-2">removeGroup</a></b> ( int <i>index</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>217 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-functions">QWidget</a></li>
<li><div bar="2" class="fn"></div>13 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#public-functions">QPaintDevice</a></li>
<li><div bar="2" class="fn"></div>29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<hr />
<a name="public-slots"></a>
<h2>Public Slots</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#setCurrentGroup">setCurrentGroup</a></b> ( QWidget * <i>widget</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#currentIndex-prop">setCurrentIndex</a></b> ( int <i>index</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#setGroupIcon">setGroupIcon</a></b> ( int <i>index</i>, const QIcon &amp; <i>icon</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#setGroupLabel">setGroupLabel</a></b> ( int <i>index</i>, const QString &amp; <i>title</i> )</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#iconSize-prop">setIconSize</a></b> ( const QSize &amp; )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>19 public slots inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#public-slots">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
</ul>
<hr />
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b><a href="qwwconfigwidget.html#currentIndexChanged">currentIndexChanged</a></b> ( int <i>index</i> )</td></tr>
</table>
<ul>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#signals">QWidget</a></li>
<li><div bar="2" class="fn"></div>1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"></div>1 public type inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#static-public-members">QWidget</a></li>
<li><div class="fn"></div>4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li><div class="fn"></div>37 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-functions">QWidget</a></li>
<li><div class="fn"></div>1 protected function inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-functions">QPaintDevice</a></li>
<li><div class="fn"></div>7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
<li><div class="fn"></div>1 protected slot inherited from <a href="http://qt.nokia.com/doc/4.7/qwidget.html#protected-slots">QWidget</a></li>
<li><div class="fn"></div>1 protected type inherited from <a href="http://qt.nokia.com/doc/4.7/qpaintdevice.html#protected-variables">QPaintDevice</a></li>
<li><div class="fn"></div>2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>A multipage container widget organizing configuration pages</p>
<hr />
<h2>Property Documentation</h2>
<h3 class="fn"><a name="count-prop"></a>count : const int</h3>
<p>This property holds this property holds the number of pages in the widget.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>count</b> () const</td></tr>
</table>
<h3 class="fn"><a name="currentIndex-prop"></a>currentIndex : int</h3>
<p>This property holds index of the currently selected group.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><b>currentIndex</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setCurrentIndex</b> ( int <i>index</i> )</td></tr>
</table>
<h3 class="fn"><a name="iconSize-prop"></a>iconSize : <a href="http://qt.nokia.com/doc/4.7/qsize.html">QSize</a></h3>
<p>This property holds this property holds the icon size used for this button.</p>
<p>The default size is defined by the GUI style. This is a maximum size for the icons. Smaller icons will not be scaled up.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr><td class="memItemLeft" align="right" valign="top">QSize </td><td class="memItemRight" valign="bottom"><b>iconSize</b> () const</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><b>setIconSize</b> ( const QSize &amp; )</td></tr>
</table>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QwwConfigWidget"></a>QwwConfigWidget::QwwConfigWidget ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>parent</i> = 0 )</h3>
<p>Constructs a config widget with a given <i>parent</i>.</p>
<h3 class="fn"><a name="addGroup"></a>void QwwConfigWidget::addGroup ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>group</i>, const <a href="http://qt.nokia.com/doc/4.7/qicon.html">QIcon</a> &amp; <i>icon</i> = QIcon(), const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>name</i> = QString() )</h3>
<p>Appends a new <i>group</i> with icon <i>icon</i> and label <i>name</i> into the widget</p>
<p>See also <a href="qwwconfigwidget.html#insertGroup">insertGroup</a>().</p>
<h3 class="fn"><a name="currentGroup"></a><a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * QwwConfigWidget::currentGroup () const</h3>
<p>Returns a configuration group widget that is currently selected.</p>
<p>See also <a href="qwwconfigwidget.html#setCurrentGroup">setCurrentGroup</a>() and <a href="qwwconfigwidget.html#group">group</a>().</p>
<h3 class="fn"><a name="currentIndexChanged"></a>void QwwConfigWidget::currentIndexChanged ( int <i>index</i> )&nbsp;&nbsp;<tt> [signal]</tt></h3>
<p>This signal is emitted when current page of the widget is changed to <i>index</i>.</p>
<h3 class="fn"><a name="group"></a><a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * QwwConfigWidget::group ( int <i>index</i> ) const</h3>
<p>Returns a configuration group widget with a specified <i>index</i>.</p>
<p>See also <a href="qwwconfigwidget.html#currentGroup">currentGroup</a>().</p>
<h3 class="fn"><a name="insertGroup"></a>void QwwConfigWidget::insertGroup ( int <i>index</i>, <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>group</i>, const <a href="http://qt.nokia.com/doc/4.7/qicon.html">QIcon</a> &amp; <i>icon</i> = QIcon(), const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>label</i> = QString() )</h3>
<p>Inserts a new <i>group</i> with an <i>icon</i> and a <i>label</i> to the widget at arbitrary <i>index</i>.</p>
<p>See also <a href="qwwconfigwidget.html#addGroup">addGroup</a>().</p>
<h3 class="fn"><a name="removeGroup"></a>void QwwConfigWidget::removeGroup ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>group</i> )</h3>
<p>Removes <i>group</i> from the widget.</p>
<h3 class="fn"><a name="removeGroup-2"></a>void QwwConfigWidget::removeGroup ( int <i>index</i> )</h3>
<p>This is an overloaded function.</p>
<h3 class="fn"><a name="setCurrentGroup"></a>void QwwConfigWidget::setCurrentGroup ( <a href="http://qt.nokia.com/doc/4.7/qwidget.html">QWidget</a> * <i>widget</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Sets the currently selected group to the specified <i>widget</i>.</p>
<p>See also <a href="qwwconfigwidget.html#currentGroup">currentGroup</a>().</p>
<h3 class="fn"><a name="setGroupIcon"></a>void QwwConfigWidget::setGroupIcon ( int <i>index</i>, const <a href="http://qt.nokia.com/doc/4.7/qicon.html">QIcon</a> &amp; <i>icon</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Sets <i>icon</i> as the icon of group specified by <i>index</i>.</p>
<h3 class="fn"><a name="setGroupLabel"></a>void QwwConfigWidget::setGroupLabel ( int <i>index</i>, const <a href="http://qt.nokia.com/doc/4.7/qstring.html">QString</a> &amp; <i>title</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Sets <i>title</i> as the label of a group specified by <i>index</i>.</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%" align="left">Copyright &copy; 2007-2010 Witold Wysota 
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">wwWidgets 1.0.0</div></td>
</tr></table></div></address></body>
</html>
